package com.dfdchem.imd.kaiwu.model;

import com.dfdchem.imd.kaiwu.model.base.BaseModel;

import java.io.Serializable;
import java.util.Date;

public class AppPublish extends BaseModel{

    public String PackageName;
    public String Platform  = "android";
    public String Title;
    public String Des;
    public boolean ForceUpdate;
    public String PackageUrl;
    public String VersionName;
    public int VersionCode;
    public Date CreateTime;

    public Date PublishTime;
    /// <summary>
    /// 默认不发布，需要手动二次发布，可以设置发布时间
    /// 0 待发布
    /// 1 已发布
    /// 2 已撤回
    /// -1 已删除
    /// </summary>
    public int Status;

    public String getPackageName() {
        return PackageName;
    }

    public void setPackageName(String packageName) {
        PackageName = packageName;
    }

    public String getPlatform() {
        return Platform;
    }

    public void setPlatform(String platform) {
        Platform = platform;
    }

    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }

    public String getDes() {
        return Des;
    }

    public void setDes(String des) {
        Des = des;
    }

    public boolean isForceUpdate() {
        return ForceUpdate;
    }

    public void setForceUpdate(boolean forceUpdate) {
        ForceUpdate = forceUpdate;
    }

    public String getPackageUrl() {
        return PackageUrl;
    }

    public void setPackageUrl(String packageUrl) {
        PackageUrl = packageUrl;
    }

    public String getVersionName() {
        return VersionName;
    }

    public void setVersionName(String versionName) {
        VersionName = versionName;
    }

    public int getVersionCode() {
        return VersionCode;
    }

    public void setVersionCode(int versionCode) {
        VersionCode = versionCode;
    }

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    public Date getPublishTime() {
        return PublishTime;
    }

    public void setPublishTime(Date publishTime) {
        PublishTime = publishTime;
    }

    public int getStatus() {
        return Status;
    }

    public void setStatus(int status) {
        Status = status;
    }
}
